package com.woniuxy.project115.kaer.tenant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.project115.kaer.tenant.entity.ServiceInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.project115.kaer.tenant.param.AddServiceInfoParam;
import com.woniuxy.project115.kaer.tenant.param.GetServiceInfoParam;
import com.woniuxy.project115.kaer.tenant.param.SelectServiceInfoParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuH
 * @since 2025年02月19日
 */
public interface ServiceInfoService extends IService<ServiceInfo> {

    String uploadImage(MultipartFile file) throws Exception;

    void addServiceInfo(AddServiceInfoParam param, Integer tenantInfoId) throws Exception;

    void online(Integer serviceInfoId) throws Exception;

    void offline(Integer serviceInfoId) throws Exception;

    Page<ServiceInfo> selectServiceInfo(SelectServiceInfoParam param, Integer storeId) throws Exception;

    Page<ServiceInfo> getServiceInfoByStoreId(GetServiceInfoParam param) throws Exception;
}
